import request from '../utils/request'
// export function gushiApi(data) {
//     return  request({
//         url:'https://api.zhyunxi.com/api.php',
//         method:'post',
//         data
//     })
// }
export function gushiApi(data) {
    return  request({
        // url:"https://api.zhyunxi.com/api.php?api=94&key=7d06a110e9e20a684e02934549db1d3d&text=蛇",
        url:`/api.php?api=${data.api}&key=${data.key}&text=${data.text}`,
        method:'get'
    })
}